<?php
    require_once("inc/function.php");
    require_once "nsoconfig.php";
    //网站信息
    $info="SELECT * FROM `web_info` LIMIT 1";
    $smt=$pdo->prepare($info);
    $smt->execute();
    $web_info=$smt->fetch();
    //当前浏览文件名
    $fileName=php_self();

    $cateP="SELECT * FROM `web_category` WHERE `parent_id`=0 AND `flags` LIKE '%i%'  AND `channel_id`=2 ORDER BY `sort_num`";
    $smt=$pdo->prepare($cateP);
    $smt->execute();
    $proCate=$smt->fetchAll();

    $cateA="SELECT * FROM `web_category` WHERE `parent_id`=0 AND `flags` LIKE '%i%'  AND `channel_id`=3 ORDER BY `sort_num`";
    $smt=$pdo->prepare($cateA);
    $smt->execute();
    $aboutCate=$smt->fetchAll();





